#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>      
#include <stdlib.h>     
#include <string.h>
#include <assert.h>
char* my_strcpy(char*dest,const char*src)
{
	char* temp = dest;
	assert(dest);
	while (*dest++ = *src++)
	{
		;
	}
	return dest;
}

int main()
{
	char arr1[] = "abcdef";
	char arr2[20] = { 0 };
	my_strcpy(arr2,arr1);
	printf("%s",arr2);
	return 0;
}